package com.shp.pojo;

/**
 * @author ZWL
 * @Version: 1.0
 * @create: 2020/2/26 13:53
 */
public class Orders {
    private Integer id;

    private Integer user_id;

    private User user;

    private Integer goods_id;

    private Good goods;

    private Integer need_num;

    private String order_num;

    private Float order_price;

    private Integer order_state;

    private String order_note;

    private String order_date;

    private String cancel_date;

    private String address;

    private String phone;

    private String buyDate;

    private GoodsExtend goodsExtend;

    @Override
    public String toString() {
        return "Orders{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", user=" + user +
                ", goods_id=" + goods_id +
                ", goods=" + goods +
                ", need_num=" + need_num +
                ", order_num='" + order_num + '\'' +
                ", order_price=" + order_price +
                ", order_state=" + order_state +
                ", order_note='" + order_note + '\'' +
                ", order_date='" + order_date + '\'' +
                ", cancel_date='" + cancel_date + '\'' +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                ", goodsExtend=" + goodsExtend +
                ", buyDate=" + buyDate +
                '}';
    }

    public String getBuyDate() {
        return buyDate;
    }

    public void setBuyDate(String buyDate) {
        this.buyDate = buyDate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Integer getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Integer goods_id) {
        this.goods_id = goods_id;
    }

    public Good getGoods() {
        return goods;
    }

    public void setGoods(Good goods) {
        this.goods = goods;
    }

    public Integer getNeed_num() {
        return need_num;
    }

    public void setNeed_num(Integer need_num) {
        this.need_num = need_num;
    }

    public String getOrder_num() {
        return order_num;
    }

    public void setOrder_num(String order_num) {
        this.order_num = order_num;
    }

    public Float getOrder_price() {
        return order_price;
    }

    public void setOrder_price(Float order_price) {
        this.order_price = order_price;
    }

    public Integer getOrder_state() {
        return order_state;
    }

    public void setOrder_state(Integer order_state) {
        this.order_state = order_state;
    }

    public String getOrder_note() {
        return order_note;
    }

    public void setOrder_note(String order_note) {
        this.order_note = order_note;
    }

    public String getOrder_date() {
        return order_date;
    }

    public void setOrder_date(String order_date) {
        this.order_date = order_date;
    }

    public String getCancel_date() {
        return cancel_date;
    }

    public void setCancel_date(String cancel_date) {
        this.cancel_date = cancel_date;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public GoodsExtend getGoodsExtend() {
        return goodsExtend;
    }

    public void setGoodsExtend(GoodsExtend goodsExtend) {
        this.goodsExtend = goodsExtend;
    }
}
